.reference h1,
.reference h2,
.reference h3 {
  font-size: 13px;
  font-weight: normal;
  height: 18px;
  border-bottom: 1px solid;
  margin-top: 0;
  margin-bottom: 16px; }
.reference h2 a {
  font-weight: bold; }
.reference h3 {
  margin-top: 16px;
  border-bottom-style: dotted; }
.reference a tt {
  line-height: 18px; }
.reference p {
  margin: 0 0 16px 0; }
.reference hr {
  border: none;
  border-bottom: 1px dotted; }
.reference ul {
  margin: 0;
  padding: 0;
  list-style: none; }
.reference .reference-list ul,
.reference .reference-inherited ul {
  margin-left: 16px; }
.reference .reference-inherited ul li {
  text-indent: -30px;
  padding-left: 30px; }
.reference .reference-classes {
  padding-bottom: 4px; }
  .reference .reference-classes h2,
  .reference .reference-classes h3,
  .reference .reference-classes hr {
    margin: 10px 0 10px 0; }
  .reference .reference-classes .first h2 {
    margin-top: 0; }
  * html .reference .reference-classes img {
    margin-top: 5px; }
  .reference .reference-classes li {
    list-style: none;
    list-style-image: none; }
  .reference .reference-classes ul {
    margin-left: 10px;
    margin-bottom: 10px; }
.reference .reference-members {
  margin-bottom: 16px; }
.reference .member-group-text {
  margin-bottom: 16px; }
.reference .member-description {
  border: 1px solid #999;
  border-top: 0;
  margin: 16px 0 16px 0; }
.reference .member-header {
  border-top: 1px solid #999;
  padding: 10px;
  *zoom: 1; }
  .reference .member-header .member-link {
    float: left; }
  .reference .member-header:before, .reference .member-header:after {
    content: " ";
    display: table; }
  .reference .member-header:after {
    clear: both; }
.reference .member-close {
  float: right; }
.reference .member-text {
  border-top: 1px dashed #999;
  padding: 10px 10px 0 10px;
  margin-bottom: -6px; }
.reference .member-link {
  text-indent: -30px;
  padding-left: 30px; }
.reference ul,
.reference .paperscript,
.reference .CodeMirror {
  margin-top: -8px;
  margin-bottom: 16px; }
.reference ul {
  margin-top: 0; }

body,
select,
input,
textarea {
  font-family: "Lucida Grande", Geneva, Verdana, Arial, sans-serif; }

body {
  background: #fff;
  margin: 16px;
  font-size: 13px;
  line-height: 20px;
  color: #333333;
  max-width: 540px; }

select,
input,
textarea {
  font-size: 11px;
  margin: 0;
  color: #000; }

tt,
pre {
  font-family: Menlo, Consolas, "Vera Mono", monospace;
  font-size: 12px;
  line-height: 20px; }

a {
  color: #333333;
  text-decoration: none;
  border-bottom: 1px solid #333333; }
  a:hover {
    background: #e5e5e5; }

img {
  border: 0; }

p {
  margin: 0 0 20px 0; }

ul,
ol {
  padding: 0;
  margin: 0 0 20px 0;
  list-style: none; }

.clear {
  clear: both; }

.hidden {
  display: none; }

.reference-index,
.reference-index a {
  color: #009dec;
  border-bottom: 0px; }
.reference-index a:hover {
  background: #e3f4fc; }
.reference-index h2,
.reference-index h3,
.reference-index hr {
  border-color: #009dec; }

.reference h1 {
  font-size: 18px;
  font-weight: normal;
  line-height: 24px;
  border: none; }

.footer {
  margin-top: 20px; }

.CodeMirror {
  overflow: auto;
  height: 100%; }
  .CodeMirror,
  .CodeMirror textarea,
  .CodeMirror pre {
    font-family: Menlo, Consolas, "Vera Mono", monospace;
    font-size: 12px; }
  .CodeMirror pre {
    line-height: 16px;
    margin: 0;
    padding: 0;
    background: transparent; }

.CodeMirror-gutter {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 30px;
  height: 100%;
  background-color: #f4f4f4;
  border-right: 1px solid #999; }

.CodeMirror-gutter-text {
  color: #aaa;
  text-align: right;
  padding: 2px 8px 2px 8px; }
  .CodeMirror-gutter-text pre {
    font-size: 10px; }

.CodeMirror-lines {
  background: #ffffff;
  padding: 2px 0 2px 8px; }
  .CodeMirror-lines pre.highlight {
    background-color: #edf5fc; }

.CodeMirror-cursor {
  z-index: 10;
  position: absolute;
  visibility: hidden;
  border-left: 1px solid #7c7c7c !important;
  height: 16px; }

.CodeMirror-selected {
  background: #ccc !important;
  color: HighlightText !important;
  padding: 2px 0 2px 0; }

.CodeMirror-focused .CodeMirror-cursor {
  visibility: visible; }
.CodeMirror-focused .CodeMirror-selected {
  background: Highlight !important; }

.CodeMirror-matchingbracket {
  background: #e3fc8d !important; }

.CodeMirror-nonmatchingbracket {
  color: #d62a28 !important; }

/* JavaScript & HTML Modes */
span.cm-keyword {
  color: #ff7800; }
span.cm-atom, span.cm-number {
  color: #3b5bb5; }
span.cm-def, span.cm-variable-2, span.cm-variable-3 {
  color: #3a4a64; }
span.cm-variable {
  color: #000; }
span.cm-property {
  color: #000; }
span.cm-operator {
  color: #000; }
span.cm-comment {
  color: #8c868f; }
span.cm-string {
  color: #409b1c; }
span.cm-meta {
  color: #555; }
span.cm-error {
  color: #f30; }
span.cm-qualifier {
  color: #555; }
span.cm-builtin {
  color: #30a; }
span.cm-bracket {
  color: #cc7; }
span.cm-tag {
  font-weight: bold;
  color: #3b5bb5; }
span.cm-attribute {
  font-style: italic;
  color: #3b5bb5; }

.paperscript .buttons {
  position: absolute;
  right: 0;
  z-index: 1; }
.paperscript .button,
.paperscript .explain {
  float: right;
  display: none;
  font-size: 11px;
  line-height: 16px;
  padding: 2px 6px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  margin: 8px 8px 0 0; }
.paperscript .button {
  background: #eee; }
.paperscript .explain {
  background: #e3f4fc; }
.paperscript .explain,
.paperscript .buttons-context:hover .button {
  display: inline-block; }
.paperscript .button:hover {
  background: #ddd;
  cursor: pointer; }
.paperscript .tools {
  display: inline; }
.paperscript .source {
  overflow: auto;
  border: 1px solid #999; }
.paperscript .CodeMirror {
  margin: 0 !important; }
.paperscript .CodeMirror-gutter-text,
.paperscript .CodeMirror-lines {
  padding-top: 10px;
  padding-bottom: 10px; }
.paperscript .canvas {
  line-height: 0; }
.paperscript .canvas.border canvas {
  border: 1px solid #999; }
.paperscript.split .canvas {
  border: 1px solid #999;
  border-top: 0; }
